-- GENERATED SPELL FOR [Thunder Lizard] --


function spell0_3130(pUnit, Event) --@Lizard Bolt,n/a--
pUnit:FullCastSpellOnTarget(5401,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_3130', 2000, 1)
end

function Sorts_3130(pUnit, Event)
local choix_sorts_3130 = math.random(0, 0)
if choix_sorts_3130 == 0 then
pUnit:RegisterEvent('spell0_3130', 1, 1)
end
end

function mob3130_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_3130', math.random(1500, 3000), 1)
end

function mob3130_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3130_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3130_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(3130, 1, 'mob3130_Action')
RegisterUnitEvent(3130, 2, 'mob3130_Leave')
RegisterUnitEvent(3130, 3, 'mob3130_Kill')
RegisterUnitEvent(3130, 4, 'mob3130_Die')
